package com.molin.threadTest.myRunnableDemo2;

public class MyRunnableDemo {
    public static void main(String[] args) {
        MyRunnable myRunnable=new MyRunnable();
        Thread thread1=new Thread(myRunnable);
        Thread thread2=new Thread(myRunnable);
        thread1.start();
        thread2.start();
    }
}
